#!/bin/bash

rm -f dy-zsj.jar.bak
mv dy-zsj.jar dy-zsj.jar.bak
cp ../tmp/dy-zsj.jar ./dy-zsj.jar

ps -ef |grep java|grep -v grep |grep dy-zsj.jar|awk '{print $2}'|xargs kill

sleep 3

bash start.sh >> start.log 2>&1